‹#›
Inventor API 中的零件图、部件图和工程图
草图几何约束
•几何约束
§约束简单实体的行为: ground, vertical, and horizontal.
§Dim oHorizontal As HorizontalConstraint
§Set oHorizontal = oSketch.GeometricConstraints.AddHorizontal(oSketchLine1)
§定义了两个实体之间的关系
§coincident, collinear, concentric, equal length, equal radius, horizontal align, midpoint, parallel, perpendicular, symmetry, tangent, and vertical align.
§Dim oParallel As ParallelConstraint
§Set oParallel = oSketch.GeometricConstraints.AddParallel(oSketchLine1, _ oSketchLine2)
§